{{extend '../_layouts/home.html'}} {{block 'head'}} {{/block}} {{block 'body'}}
<main>
    <div class="container">
        <form action="/topic" method="POST" id="topic_form">
            <div>
                <label for="">标题</label>
                <input type="text" name="title">
            </div>
            <div>
                <label for="">内容</label>
                <input type="text" name="message"}>
            </div>

            <div>
                <button class="btn btn-primary" type="submit">修改</button>
                <a href="/" class="btn btn-danger">返回</a>
            </div>
        </form>
    </div>
</main>
{{/block}} {{block 'script'}}
<script>
    $(function() {




        // if()
    })
</script>

{{/block}}